<div id="main">
    <div class="container-fluid">
        <?php include_partial('global/header', array("breadcrumbs" => $breadcrumbs)); ?>

        <div class="row-fluid">
            <ul class="tiles">
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_USUARIOS'))) { ?>
                <li class="blue">
                    <a href="<?php echo url_for('adminusers/index');?>"><span><i class="icon-user"></i></span><span class='name'>Usuarios</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_CANALES'))) { ?>
                <li class="red">
                    <a href="<?php echo url_for('adminchannels/index');?>"><span><i class="icon-user"></i></span><span class='name'>Canales</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_CLUSTER'))) { ?>
                <li class="green">
                    <a href="<?php echo url_for('adminclusters/index');?>"><span><i class="icon-user"></i></span><span class='name'>Cluster</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_CONCESION'))) { ?>
                <li class="teal">
                    <a href="<?php echo url_for('adminconcessions/index');?>"><span><i class="icon-user"></i></span><span class='name'>Concesión</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_CLIENTES'))) { ?>
                <li class="lightred">
                    <a href="<?php echo url_for('admincustomers/index');?>"><span><i class="icon-user"></i></span><span class='name'>Clientes</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_FORMATO'))) { ?>
                <li class="orange">
                    <a href="<?php echo url_for('adminformats/index');?>"><span><i class="icon-user"></i></span><span class='name'>Formato</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_UBICACIONES'))) { ?>
                <li class="magenta">
                    <a href="<?php echo url_for('adminlocations/index');?>"><span><i class="icon-user"></i></span><span class='name'>Locaciones</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_FORMATO_PRECIO'))) { ?>
                <li class="lime">
                    <a href="<?php echo url_for('admincodeformats/index');?>"><span><i class="icon-user"></i></span><span class='name'>Códigos Formato</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_FORMATO_PRECIO'))) { ?>
                <li class="satblue">
                    <a href="<?php echo url_for('adminpriceformats/index');?>"><span><i class="icon-user"></i></span><span class='name'>Formato Precios</span></a>
                </li>
                <?php }?>
                <?php if (myCapability::testcap($caps, myCapability::C('CAP_M_ADMIN_LOCALES'))) { ?>
                <li class="pink">
                    <a href="<?php echo url_for('adminstores/index');?>"><span><i class="icon-user"></i></span><span class='name'>Locales</span></a>
                </li>
                <?php }?>
            </ul>
        </div>

    </div>
</div>        